<?phpnamespace app\admin\controller;use think\Db;use think\Controller;use app\admin\controller\Base;class Workflowhome extends Base{    public function index()    {        return $this->fetch();    }    /*     * 添加页     */    public function add()    {        return $this->fetch();    }    /*     * 修改页     */    public function edit(){        $id = input('id');        $list = Db::name('wf_flow')->field('id,name,controller,table_name')->find($id);        $this->assign([            'list'=>$list        ]);        return $this->fetch();    }}